package com.ruoyi.voucher.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.voucher.domain.VoucherDetail;
import com.ruoyi.voucher.domain.VoucherManage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @BelongsProject: RuoYi-Cloud-master
 * @BelongsPackage: com.ruoyi.voucher.vo
 * @Author: songYuHang
 * @CreateTime: 2025-02-27  14:59
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class VoucherRespVo {


    private Long voucherId;

    private String voucherNo;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date voucherDate;

    private String accountPeriod;

    private Long attachmentCount;

    private BigDecimal totalAmount;

    private BigDecimal remainingAmount;

    private Long auditorId;

    private Integer auditStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    private Integer isVoid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date voidTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reversalTime;

    private Long accountId;

    private Long wordId;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Integer isDeleted;

    private Long version;

    private String wordName;


    private List<VoucherDetail> voucherDetailList;


}
